//对应token的一些操作方法

let key = 'myToken'

export const setToken = (token) => {
  return localStorage.setItem(key, token)
}

export const getToken = () => {
  return localStorage.getItem(key)
}

export const removeToken = () => {
  return localStorage.removeItem(key)
}